home *** CD-ROM | disk | FTP | other *** search
- property ancestor
- global gAlertWin, gGraph
-
- on beginSprite me
- spNum = me.spriteNum
- spLoc = the loc of sprite spNum
- ancestor = new(script("generic button"), "autorange", "internal", spNum, spLoc, me)
- Inscope(ancestor)
- return me
- end
-
- on exitFrame me
- doRollover(ancestor)
- end
-
- on mouseDown me
- trackMouse(ancestor)
- end
-
- on performFunction me
- global gGraph, gForgetList
- setaProp(gGraph, #pIsConsistant, 1)
- setaProp(gGraph, #pIsAutoRange, 1)
- tell the stage
- openGraphWindow()
- end tell
- closeMe(gAlertWin)
- end
-